// 盛夏狂欢红吧领取弹框



    // 时时计算窗口大小,红包居中
    function center(e,i,w,h){
            $(e).css({
                marginLeft:($(window).width()-w)/2+'px',
                marginTop:($(window).height()-h)/2+'px',
            });
            $(window).resize(function(){
                $(e).css({
                    marginLeft:($(window).width()-w)/2+'px',
                    marginTop:($(window).height()-h)/2+'px',
                })
            });
            $(i).fadeIn()
    };
// 关闭弹框
    function closeBtn(e){
        $(e).fadeOut();
        window.location.reload()
    }
    function closeBtn1(e){
        $(e).fadeOut()
    }
    //查看领取红包详情
    $(".summerPCCT").css({
        marginLeft:($(window).width()-600)/2+'px',
        marginTop:($(window).height()-400)/2+'px',
    });
